package ar.com.ctrln.persistence.model.evento;

import javax.persistence.Entity;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import ar.com.ctrln.persistence.model.ticket.Ticket;

@Entity
@Table(name = "EVENTO_TICKET")
public class EventoTicket extends EventoCalendario {

	@OneToOne
	private Ticket ticket;

	public EventoTicket() {

		this.setHeaderColor("#ff3300");
		this.setContentColor("#ff3300");
	}

	public void setTicket(Ticket ticket) {
		this.ticket = ticket;
	}

	public Ticket getTicket() {
		return ticket;
	}
}
